const MyPlugin={
    install:(Vue)=>{
        Vue.globalMethod=()=>{
            console.log('globalMethod')
        };
        Vue.prototype.$instanceMethod=()=>{
            console.log('installMethod')
        };
        Vue.directive('upper-case',(el,binding)=>{
            el.textContent=binding.value.toUpperCase()
        })
    }
}